package com.leave.service;

import java.sql.SQLException;
import java.util.List;

import com.leave.dao.ApproveDao;
import com.leave.entity.Apply;

public class ApproveService {
	private ApproveDao approveDao = new ApproveDao();

	public List<Apply> show_all_approve(int status) throws SQLException {
		return approveDao.show_all_approve(status);
	}

	public void agree_approve(int status,int aid) throws SQLException {
		approveDao.agree_approve(status, aid);
	}
}
